﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Jumpton.SFA.Server.BusinessRule.MasterData;
using Jumpton.SFA.Server.Entity;

public partial class masterdata_WareHouse_From_Products_List : PageBase
{
    WareHouseFromProductManager manager = new WareHouseFromProductManager();
    private string _WareHouseCode = "";

    
    protected void Page_Load(object sender, EventArgs e)
    {
        _WareHouseCode = Request.QueryString["warehousecode"];

 //       lblWarehouse.Text = "仓库代码:" + _WareHouseCode;
        if (!IsPostBack)
        {
            GetWareHouseProudctBind();
        }
    }

    public void GetWareHouseProudctBind()
    {
        GridView1.DataSource = manager.GetProdcutShipFromTable(_WareHouseCode,MyStateManager.DomainID);
        GridView1.DataBind();
    }

    protected void btnBack_Click(object sender, EventArgs e)
    {
        Response.Redirect("Warehouse_Locations_List.aspx");
    }
}
